﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%csharp%>
int user_id=DTRequest.GetQueryInt("user_id");
<%/csharp%>
<title>{model.title} - {site.name}</title>
<meta name="keywords" content="{model.seo_keywords}" />
<meta name="description" content="{model.seo_description}" />
<link href="<%templateskin%>/css/common.css" rel="stylesheet" type="text/css" />
<link href="{config.webpath}css/pagination.css" rel="stylesheet" />
<link href="<%templateskin%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="{config.webpath}scripts/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="{config.webpath}scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="<%templateskin%>/js/common.js"></script>
<script type="text/javascript" charset="utf-8" src="{config.webpath}scripts/artdialog/dialog-plus-min.js"></script>
</head>
<body>
<!--Header-->
<%template src="_header.html"%>
<!--/Header--> 

<!--内页面大标题-->
<div class="nbanner" style="background-color: #9176A8;">
<div class="line20"></div>
   <div class="bantext" style="background:url(<%templateskin%>/images/price_bantxt.png) no-repeat; width:1220px; height:130px;">
      <%csharp%>
      string fore_name="";
      if(user_id>0)
      {
        var foremanModel=get_foreman_model(user_id);
        if(foremanModel!=null && foremanModel.user!=null)
            fore_name=foremanModel.user.nick_name +"工长的";
      }
      <%/csharp%>
    <h3>{fore_name}{model.title}</h3>
    <div class="dqwz">
      <%set string category_nav=get_category_menu("news_list", category_id)%>
      <span>当前位置：<a href="<%linkurl("index")%>">首页</a> &gt; 报价行情</span><br/>
      <span class="des">{model.content}</span></div>
  </div>
</div>
<!--内页面大标题-->

<div class="section clearfix"> 

  <!--右边-->
  <%template src="_mleft.html"%>
  <!--/右边-->
  
  <!--左边-->
  <div class="list-auto">
    <ul class="f_kaigong">
        <%csharp%>
        string where="view_channel_cases.status=0";
        if(user_id>0)
            where+=" and view_channel_cases.user_id="+user_id;
        <%/csharp%>
     <%set DataTable newsList=get_article_list_left_foreman(channel, category_id, pagesize, page, where,"click desc", out totalcount, out pagelist, "mprice_list", category_id,user_id, "__id__")%>
      <!--取得一个分页DataTable-->
      <%foreach(DataRow dr in newsList.Rows)%>
      <li class="clearfix"><div class="price"><span>¥{dr[area_price]}</span></div>
        <div class="f_kaigong_msg">
        <span>报价工长：<strong><a href="#>">{dr[nick_name]}</a></strong></span>
        <span class="f_width214">报价小区：<strong>{dr[area_name]}</strong></span>
        <span>报价户型：<strong>{dr[area_layout]}</strong></span>
        <span>室内面积：<strong>{dr[area_size]}㎡</strong></span>
        <span class="f_width214">预　　算：<strong>{dr[area_price]}-{dr[area_way]}</strong></span>
        <span>浏览次数：<strong><script type="text/javascript" src="{config.webpath}tools/submit_ajax.ashx?action=view_article_click&id={dr[id]}"></script>次</strong></span>
        </div>
        <a target="_blank" href="<%linkurl("mnews_show",{dr[id]})%>" class="f_yycg_a">报价详情</a></li>
         <%/foreach%>
    </ul>    
    <!--页码列表-->
    <div class="page-box">
      <div class="digg">{pagelist}</div>
    </div>
    <!--/页码列表--> 
  </div>
  <!--/左边--> 
  
</div>

<!--Footer-->
<%template src="_footer.html"%>
<!--/Footer-->
</body>
</html>